#ifndef db_MYSQLTYPEUTIL_H
#define db_MYSQLTYPEUTIL_H

#include "RecordBase.h"
#ifdef _WIN32
#include "WinSock2.h"
#endif

#include <mysql.h>

namespace serika
{
	namespace db
	{
		class MysqlTypeUtil
		{
		private:
			MysqlTypeUtil();
			~MysqlTypeUtil();
	
		public:
			static void InsertValue(FieldMap* fm, MYSQL_FIELD* field, const char* value, unsigned long length);
		};
	}
}

#endif
